// src/router/index.js
import { createRouter, createWebHistory } from 'vue-router';
import OdfList from '@/components/OdfList.vue';
import OdfDetails from '@/components/OdfDetails.vue';
const routes = [
  { 
	path: '/',
	name: 'OdfList',
	component: OdfList,
  },
  { 
	path: '/odf/:id', 
	name: 'OdfDetails',
	component: OdfDetails,
  },
];
const router = createRouter({ history:
  createWebHistory(process.env.BASE_URL), routes,
});
export default router;
